/*
 * Copyright (c) GoKeep by gokeep.org. 2022-2023. All rights reserved
 * Author: XuNing
 */
package org.gokeep.application;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

import static org.gokeep.common.config.GlobalConfig.APPLICATION_PACKAGE;

/**
 * This is application startup main class in the IDE
 * Before starting, you need to do the following things:
 * Step1：Download or refresh maven dependencies;
 * Step2: Startup mongodb server and config connection information;
 * Step3: Startup minio server and config connection information;
 * Step4: Running in JRE，current development jdk version openjdk17;
 * Notice: Application not suggest use jdk1.8 or below
 * @author gokeep.org
 */
@EnableMongoRepositories(basePackages = {APPLICATION_PACKAGE})
@SpringBootApplication(scanBasePackages = {APPLICATION_PACKAGE})
public class BootStrap {
    public static void main(String[] args) {
        SpringApplication.run(BootStrap.class);
    }
}